/*
 * @Author: 鏉滀簩搴� 3224811364@qq.com
 * @Date: 2024-07-01 17:20:16
 * @LastEditors: 鏉滀簩搴� 3224811364@qq.com
 * @LastEditTime: 2024-07-16 14:46:00
 * @FilePath: src/utils/localSave.ts
 * @Description: 这是默认设置,可以在设置》工具》File Description中进行配置
 */
export const getUserInfoFormStorage = () => {
  return {
    username: localStorage.getItem('username'),
    password: localStorage.getItem('password')
  }
}
export const setUserInfoFormStorage = (username: string, password: string) => {
  localStorage.setItem('username', username)
  localStorage.setItem('password', password)
}
export const removeUserInfoFormStorage = () => {
  localStorage.removeItem('username')
  localStorage.removeItem('password')
}
